package com.qf.votedemo.phone.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author lx
 * @since 2023-02-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("phone")
public class Phone implements Serializable {

    @TableId(value = "pid",type = IdType.AUTO)
    private Integer pid;

    private String phonenumber;


}
